package com.totoro.spring.spring_demo.aop;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 默认值注解，加上该注解的方法，则返回设置的默认值
 * Created by Niki on 2018/6/14 8:35
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DefaultValue {
    String value() default "默认值" ;
}
